package com.demo.afternoon;

/**
 * @ClassName 多继承
 * @Description TODO
 * @Author tianqinglong
 * @Date 15:33 2022/7/5
 * @Version 1.0
 **/
public class 多继承 {
}

interface MultipleMedia{
    void playAudio();
    void playVedio();
}
interface Storage{
    void saveFile();
}
interface SmartPhone extends Storage,MultipleMedia{

}
class AndroidPhone implements SmartPhone{
    private String name;
    private int price;
    @Override
    public void playAudio() {
    }

    @Override
    public void playVedio() {

    }

    @Override
    public void saveFile() {

    }
}